
html,body {
    height: 100%;
}

.logo-text {
    background: white;
    text-align: center;
    text-transform: uppercase;
    font-size: 37px;
}
.main-header {
    flex:0 1 auto;
}
.main-content {
    flex:1 1 auto;
    display: flex;
    flex-direction: column;
}
.thumbnail-title {
    background-color: rgb(96,125,139);
    color: rgb(202,238,255);
    display: block;
    margin: 0;
    padding: 4px 10px;
    font-size: 18px;
}
body {
    display: flex;
    flex-direction: column;
    font-size: 62.5%;
    background: rgb(149, 194, 215);
}
.thumbnail-list {
    flex: 0 1 auto;
    list-style: none;
    display: flex;
    padding:  20px 0;
    order: 2;
    white-space: nowrap;
    overflow-x: auto;
    justify-content: space-between;
    margin-top: 0;
}
.detail-image-container {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.detail-image-frame {
    text-align: center;
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    transition: transform 333ms  ;
}
.detail-image {
    width: 100%;
}
.detail-image-title {
    position: absolute;
    bottom: -16px;
    left: 3px;
    color: white;
    font-size: 40px;
    text-shadow: rgba(0,0,0,0.9) 1px 2px 9px;
}
.thumbnail-image {
    width: 100%;
    /*图片默认是inline，他们的渲染规则类似于文本，渲染文本时，字母是沿着一条基线绘制的。某些字母，如p、q、y
    等，有一个下降部分——也就是位于基线下面的尾部。为了容纳他们，基线之下会留有一些空白。将display设置为block
    就可以移除空白
    */
    display: block;
}
.thumbnail-item a {
    text-decoration: none;
    display: block;
    border: 1px solid rgba(255,255,255,0.8);

}
.is-tiny {
    transform: scale(0.001);
    transition: transform 0ms;
}
.hidden-detail .detail-image-container {
    display: none;
}
.hidden-detail .thumbnail-list {
    flex-direction: column;
    align-items: center;
}
.hidden-detail .thumbnail-item {
    max-width: 80%;
}
.thumbnail-item {
    display: inline-block;
    max-width: 120px;
    min-width: 120px;
    border: 1px solid rgba(255,255,255,0.8);
    box-sizing: border-box;
    transform: scale(0.8);
    transition: transform 300ms ease-in-out;
}
.thumbnail-item:hover {
    transform: scale(1.0);
}

/*适配*/
@media all and (min-width: 768px){
    .main-content {
        flex-direction: row;
        overflow: hidden;
    }
    .thumbnail-list {
        flex-direction: column;
        justify-content: space-between;
        order: 0;
        margin-left: 20px;
        padding: 0 35px;
    }
    .thumbnail-item {
        max-width: 260px;
    }
    /*.thumbnail-item + .thumbnail-item {*/
        /*margin-top: 20px;*/
    /*}*/

}